chore: Bump xmldom from 0.6.0 to 0.8.0 #447
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Actually just a switch from package
xmldom
to@xmldom/xmldom
, as in appium/appium-chromedriver#228.Which resolves the security issue present in latest xmldom version 0.6.0:
GHSA-5fg8-2547-mr8q
The reason is that the maintainers were forced to switch to a scoped package since 0.7.0:
xmldom/xmldom#271
I'm one of the xmldom maintainers. Don't hesitate to ask me questions.
I didn't attempt to install and run the project on my machine, but I'm hoping for the CI checks to cover the important things.
Changes in xmldom since 0.6.0
## [0.8.0](https://github.com/xmldom/xmldom/compare/0.7.5...0.8.0)Fixed
BREAKING CHANGE: Certain combination of line break characters are normalized to a single
\n
before parsing takes place and will no longer be preserved.#303
/#307
#49
,#97
,#324
/#314
#284
/#310
BREAKING CHANGE: If you relied on the not spec compliant preservation of literal
\t
,\n
or\r
in attribute values.To preserve those you will have to create XML that instead contains the correct numerical (or hexadecimal) equivalent (e.g.
	
,

,
).DOMImplementation
andXMLSerializer
fromlib/dom-parser.js
#53 /#309
BREAKING CHANGE: Use the one provided by the main package export.
removeChild
#343
/#355
Chore
#325
#111
/#304
Thank you @marrus-sh, @victorandree, @mdierolf, @tsabbay, @fatihpense for your contributions
0.7.5
Commits
Fixes:
#319
/#321
Thank you @lupestro
0.7.4
Commits
Fixes:
__prototype__
attributes#315
Thank you @dsimsonOMF
0.7.3
Commits
Fixes:
#277
/#301
#294
Thank you @rrthomas
Refactor:
#233
Docs:
#298
#299
Chore:
#302
#300
#297
#292
0.7.2
Commits
Fixes:
#288
Thank you @forty
0.7.1
Commits
Fixes:
#283
Thank you @kachkaev
Chore:
#279
0.7.0
Commits
Due to
#271
this version was published asxmldom
package to github (git tags0.7.0
and0.7.0+unscoped
)@xmldom/xmldom
package to npm (git tag0.7.0+scoped
)For more details look at
#278
Fixes:
CVE-2021-32796
Document.getElementsByClassName
as specified#213
, thank you @ChALkeR#268
#267
DOMImplementation
according to recent specs#210
BREAKING CHANGE: Only if you "passed features to be marked as available as a constructor arguments" and expected it to "magically work".
#244
(related to
#168
released in 0.6.0)BREAKING CHANGE: Only if you rely on "unsetting" a namespace prefix by setting it to an empty string
localName
as part ofDocument.createElement
#229
, thank you @rrthomasCI
Docs
#211
,#247